package com.kangyi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "A端-养老院分页返回的数据格式")
public class AppNursingPageQueryDTO implements Serializable {
    @ApiModelProperty("页码")
    private int page;
    @ApiModelProperty("数量")
    private int pageSize;
    @ApiModelProperty("养老院名称")
    private String name;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区")
    private String district;
    @ApiModelProperty("机构id")
    private Integer organization;
    @ApiModelProperty("排序字段（createTime: 创建时间, rating: 评分）")
    private String sortField;
    @ApiModelProperty("排序方式（asc: 升序, desc: 降序）")
    private String sortOrder;
}
